import { createBrowserRouter } from "react-router-dom";
import Home from "@/pages/Home";
import Detail from "@/pages/Detail/Index";


const router=createBrowserRouter(
    [
        {
            path:"/",
            element:<Home/>
        },
        {
            path:"/detail",
            element:<Detail/>
        }
    ]
)
export default router